<?php
  
  $producersNeighbor = $vars['producers'];
  if (isset($producersNeighbor)){
     elgg_echo('map_location:empty');
  } 
    
  $markers = get_markers($producersNeighbor);

  $map_container = 'producers_neighbor_map';

  echo elgg_view ('map_location/maps/neighbor_map',                
                   array ('markers' => $markers,
                          'longitude' =>$vars['longitude'],
                          'latitude' => $vars['latitude'],
                          'container' => $map_container,));
 ?>					
                                                 
<div class="contentWrapper">
    <div id="<?php echo $map_container ?>" style="width:100%;height:500px;"> </div>
</div> 



